Recording apparatus and recording system

ABSTRACT

A process of detecting a defective recording element and a process of correcting the defective recording element are performed with appropriate processing loads. When the detection process and the correction processes are performed with small loads, for example, at a time of recording, a resolution used for reading an inspection pattern is set lower than that set in a case where the processes can be performed with small loads, for example, at down time before recording. The reading resolution to be set may be determined by an apparatus in accordance with a processing load or may be arbitrarily determined by a user.

CROSS REFERENCE TO RELATED APPLICATIONS

The present application is a continuation of U.S. patent applicationSer. No. 12/964,174, filed on Dec. 9, 2010, which claims priority fromJapanese Patent Application No. 2010-251904, filed Nov. 10, 2010, all ofwhich are hereby incorporated by reference herein in their entirety.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention relates to a process of detecting a defectiverecording element, and a recording apparatus capable of executing acorrection process performed when data to be recorded by a defectiverecording element is recorded by recording elements other than thedefective recording element, and a recording system.

2. Description of the Related Art

In general, a technique of suppressing occurrence of printing failure atthe minimum has been proposed in order to strike a balance between highimage quality and low running cost. For example, Japanese PatentLaid-Open No. 2008-62516 discloses a method for simultaneouslyperforming printing and detection of a defective ejection nozzle in aserial printer and performing correction of the defective nozzle in thenext scanning when the defective ejection nozzle is detected.Furthermore, Japanese Patent Laid-Open No. 2005-225037 discloses amethod for visually detecting a defective portion by an operator andcorrecting a continuous region including the defective portion in orderto reduce a load of a process of detecting and correcting a defectiveejection nozzle.

However, in the technique disclosed in Japanese Patent Laid-Open No.2008-62516, a load applied to the process of detecting and correcting adefective nozzle is large. Therefore, there arises a problem in thathigh information processing capability and a long period of time arerequired for the process. Accordingly, even when a long period of timeshould not be given to perform the process, the process takes a longperiod of time. Accordingly, productivity is lowered. Furthermore, inthe technique disclosed in Japanese Patent Laid-Open No. 2005-225037,since the operator or a user visually detects a defective portion, along period of time is required for the process and a load applied tothe user is heavy.

SUMMARY OF THE INVENTION

The present invention provides a recording apparatus capable ofappropriately executing a process of detecting a defect of a recordingelement and a process of correcting the recording element depending on asituation including accuracy of the processes and a period of timeallowed to be used for the processes which are required by the user.

According to an embodiment of the present invention, there is provided arecording apparatus which records an image in a recording medium using arecording unit including recording element arrays each of which has aplurality of recording elements which are arranged. The recordingapparatus includes a reading unit configured to read an inspectionpattern used to detect a defective recording element included in theplurality of recording elements with a first resolution and a secondresolution which is lower than the first resolution, a determinationunit configured to determine, when the reading unit reads the inspectionpattern with the first resolution, whether the defective recordingelement is included in accordance with a result of the reading, anddetermine, when the reading unit reads the inspection pattern with thesecond resolution, whether the defective recording element is includedin accordance with a result of the reading in a unit of a recordingelement group including a plurality of recording elements, and ageneration unit configured to generate data of an image to be recordedin accordance with a result of the determination made by thedetermination unit. When the reading unit performs the reading with thefirst resolution, the generation unit generates data so that an image tobe recorded using the defective recording element determined by thedetermination unit is recorded using recording elements other than thedefective recording element in a compensation manner whereas when thereading unit performs the reading with the second resolution, thegeneration unit generates data so that an image to be recorded using therecording element group including the defective recording elementdetermined by the determination unit is recorded using recordingelements other than the recording elements included in the recordingelement group in a compensation manner.

Accordingly, a process of detecting a defective recording element and aprocess of correcting the defective recording element can be performedwith appropriate loads, and degradation of image quality can besuppressed.

Further features of the present invention will become apparent from thefollowing description of exemplary embodiments with reference to theattached drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIGS. 1A and 1B are diagrams schematically illustrating an inkjetprinter.

FIG. 2 is a block diagram illustrating a system of an informationprocessing apparatus.

FIG. 3 is a flowchart illustrating a process according to a firstembodiment.

FIG. 4 is a diagram illustrating an ejection port surface of a recordinghead.

FIG. 5 is a flowchart illustrating a first detection process.

FIG. 6 is a diagram illustrating an inspection pattern of the firstdetection process.

FIG. 7 is a diagram illustrating a read image of the first detectionprocess.

FIG. 8 is a flowchart illustrating an image process.

FIG. 9 is a flowchart illustrating a second detection process.

FIG. 10 is a diagram illustrating an inspection pattern of the seconddetection process.

FIG. 11 is a diagram illustrating a read image of the second detectionprocess.

FIGS. 12A to 12C are diagrams illustrating the relationships betweenresolutions of reading and recording dots.

FIG. 13 is a flowchart illustrating a process according to a secondembodiment.

DESCRIPTION OF THE EMBODIMENTS First Embodiment

An embodiment of the present invention will be described hereinafterwith reference to the accompanying drawings. Note that components havingthe same functions are denoted by the same reference numerals andredundant descriptions thereof are omitted.

Configuration of Apparatus

FIG. 1A is a diagram schematically illustrating an inkjet printer 210serving as a printing apparatus according to a first embodiment. Whenthe inkjet printer 210 performs normal printing, a recording medium 3fed from a sheet-feeding tray 4 is conveyed by rotations of a pluralityof conveying rollers 5 disposed on upper and lower portions. Therecording medium 3 is supplied from left to right as denoted by an arrowmark shown in FIG. 1A. Subsequently, a recording head 2 serving as arecording unit performs printing and the recording medium 3 isdischarged to a sheet-ejection tray 7. In this inkjet printer 210, adefective nozzle included in the recording head 2 is detected so thatappropriate quality of a printed image is attained. In this case, aprinted sheet, i.e., the recording medium 3 which is printed using therecording head 2 is read by a reading unit 6 so that a defective nozzleis detected. In this embodiment, the reading unit 6 corresponds to a CCDcamera 211 or a scanner 212, which will be described hereinafter.

FIG. 1B is a sectional view illustrating the inkjet printer 210sectioned in a direction in which the recording medium 3 is supplied(sub-scanning direction). An image read by the reading unit 6 isanalyzed by a CPU 201 serving as a controller of an image processingapparatus 200 which will be described hereinafter so that a defectivenozzle is detected. The recording head 2 of this embodiment is capableof performing printing using four color inks including C (cyan), M(magenta), Y (yellow), and K (black) and includes four heads includingheads 2C, 2M, 2Y, and 2K.

FIG. 4 is a diagram illustrating an ejection port surface 10 of therecording head 2. FIG. 4 shows an example of one of the recording heads2C, 2M, 2Y, and 2K which eject the corresponding color inks describedwith reference to FIG. 1B. A direction denoted by an arrow mark in FIG.4 corresponds to the direction in which the recording medium 3 isconveyed. Four arrays of nozzles (nozzle arrays 11 to 14) serving asrecording elements corresponding to the same ink color are arranged inthe supplying direction. Then, each of the nozzle arrays serving asrecording element arrays includes nozzles arranged in a directionorthogonal to the supplying direction in a unit of 600 dpi. The nozzlearray 11 includes nozzles 111, 112, and so on starting from an upperportion of the drawing. Each of the nozzle arrays includes a firstnozzle, a second nozzle, and so on.

Note that, although the printer using the four color inks, i.e., C, M,Y, and K, is taken as an example in this embodiment, the presentinvention is not limited to these ink colors and many ink colorsincluding light cyan, light magenta, light gray, red, and green may beused. Furthermore, in order to prevent complication of description, animage used to inspect states of nozzles serving as the recordingelements is referred to as an inspection image, a result of printing ofthe inspection image is referred to as an inspection pattern, an imageto be printed such as a photograph is referred to as a target image, andan image obtained by printing the target image is referred to as anactual image. Furthermore, a process described below is simultaneouslyor separately performed for individual ink colors. Inspection patternsof all ink colors may be integrally printed.

FIG. 2 is a block diagram illustrating a configuration of a systemaccording to this embodiment. The image processing apparatus 200includes the CPU 201, a ROM 202, a RAM 203, and a video card 204 whichis connected to a monitor 213 (which may include a touch panel). Theimage processing apparatus 200 further includes a storage unit 205 suchas a hard disk drive or a memory card which serves as a storage region.The image processing apparatus 200 further includes an interface 208 fora serial bus of a USB or the IEEE1394 standard which is connected to apointing device 206 such as a mouse, a stylus, or a tablet and akeyboard 207. The image processing apparatus 200 further includes anetwork interface card (NIC) 215 connected to a network 214. In thisconfiguration, the components are connected to one another through asystem bus 209. Furthermore, the printer 210, the CCD camera 211, andthe scanner 212 may be connected to the interface 208. Moreover, imagedata may be input by an apparatus which optically obtains image datasuch as a digital still camera or a digital video camera or may be inputby a portable medium such as a magnetic disk, an optical disc, or amemory card. The image data to be input may be included in an imagefile. The CPU 201 loads a program (including an image processing programwhich will be described hereinafter) stored in the ROM 202 or thestorage unit 205 into the RAM 203 serving as a work memory and executesthe program. Thereafter, the CPU 201 controls the components describedabove through the system bus 209 in accordance with the program tothereby realize a function of the program. Furthermore, the memoriessuch as the ROM 202 and the RAM 203 and the storage device such as thestorage unit 205 include information representing a state of therecording head 2. Any information serves as this information as long asthe information represents states of nozzles.

Characteristic Configuration

A characteristic configuration of this embodiment will be describedhereinafter with reference to FIGS. 3 to 8. As described above, in thepresent invention, a process of detecting a defective nozzle which is adefective recording element and a process of correcting a defectivenozzle which is a defective recording element are appropriatelyexecutable depending on a situation. Specifically, a mode in which adefective nozzle is detected on a nozzle-by-nozzle basis and acorrection is performed with high accuracy or a mode in which adetection of a region including a defective nozzle and a correctionprocess performed on the region are executed with a small processingload or within a short period of time is selected and executed. Althoughdescribed hereinafter, in this embodiment, the CPU 201 serving as thecontroller included in the recording apparatus determines one of themodes to be selected. However, a determination as to whether acorrection is performed with high accuracy or performed with a smallload or within a short period of time may be performed whereappropriate, and the user may freely make the determination. When theuser makes the determination, an instruction issued by the user isreceived and a reading resolution is determined in accordance with theinstruction. Then, an inspection pattern is read in accordance with thedetermined reading resolution. In accordance with a result of thereading, recording data is assigned to non-defective nozzles so as to berecorded by the non-defective nozzles.

FIG. 3 is a flowchart illustrating a series of sequences of thedefective nozzle detection process and the defective nozzle correctionprocess according to this embodiment. First, a flow of the series of theprocesses will be described. Before printing, as maintenance of theapparatus, an inspection pattern is printed in order to detect adefective nozzle. In this embodiment, since a correction is performedwith high accuracy in the maintenance before printing, detection of adefective nozzle is performed on a nozzle-by-nozzle basis. Then, thecorrection process is performed so as to prevent a defective image frombeing generated due to a detected defective nozzle, and thereafter,printing of an actual image is started. After a predetermined number ofactual images are printed, the inspection pattern is printed again. Inthis embodiment, the inspection pattern is printed among operations ofprinting actual images so that a defective nozzle is detected. In thiscase, detection of a defective nozzle is performed in a unit of a nozzlegroup which includes a plurality of nozzles in order to reduce a load ofthe detection process and the correction process. Then, the correctionprocess is performed on the detected defective nozzle group, andthereafter, the actual image is printed again. Hereinafter, theseprocesses will be described in detail.

In step S301, a first detection process is performed before printing ofan actual image. In the first detection process, detection of adefective ejection nozzle is performed on a nozzle-by-nozzle basis. Thefirst detection process will be described in detail with reference to aflowchart shown in FIG. 5.

First Detection Process

In step S501, an inspection image and information on a nozzle state areread. In this embodiment, the inspection image and the information on anozzle state have been stored in the ROM 202. In step S502, printingdata of an inspection pattern is generated in accordance with theinspection image and the information on a nozzle state read in stepS501. In step S503, the printing data generated in step S502 is printed.FIG. 6 is a diagram illustrating the inspection pattern of the firstdetection process. In FIG. 6, a horizontal direction corresponds to an Xaxis and a vertical direction corresponds to a Y axis. The inspectionpattern is obtained such that each of the nozzles included in acorresponding one of the nozzle arrays ejects ink for four dots forindividual nozzle arrays. Furthermore, the printing is performed whileshifting in the X direction so that the dots of each of the nozzlearrays do not overlap with one another. Moreover, a region 601 remainsas a white line since ink is not ejected to the region 601 correspondingto a defective ejection nozzle. A detection mark 602 is used to havecorrespondences between pattern positions and nozzle portions. With thismark, the pattern positions and the corresponding nozzles whichperformed the printing can be specified.

Subsequently, in step S504, a condition for reading the printed patternby the reading unit 6 described above is set. In this embodiment, one ofa plurality of conditions (modes) having different reading resolutionsof the reading unit 6 is selected and set. In step S504, a readingresolution the same as a nozzle resolution is set in order to detect andspecify a defective nozzle on a nozzle-by-nozzle basis. In thisembodiment, the nozzle resolution for each nozzle array of the recordinghead 2 is 600 dpi. Therefore, the reading resolution in step S504 is 600dpi which is the same as the nozzle resolution. Note that, since thepurpose to set the reading resolution is to specify a defective nozzleon a nozzle-by-nozzle basis, the resolution is not limited to this aslong as a defective nozzle can be specified.

Next, in step S505, the inspection pattern printed in step S503 is readin accordance with the reading condition determined in step S504. FIG. 7is a diagram illustrating an image obtained when the pattern shown inFIG. 6 is read in a certain resolution. A region 701 corresponds to animage obtained by reading the region 601 representing the white linecaused by a defective nozzle, and a region 702 corresponds to an imageobtained by reading the detection mark 602. When the scanner 212 is usedfor the reading, the scanner 212 outputs the same signal values forindividual pixels in a certain resolution. Accordingly, since the readimage including pixels each of which has a square shape is obtained asshown in FIG. 7, a circle of a dot is represented by pixels each ofwhich has a square shape.

In step S506, the inspection pattern read in step S505 is analyzed sothat a defective nozzle is detected. In this process, since the nozzleresolution and the reading resolution are the same as each other,information on a defective nozzle can be obtained by simply detecting awhite region and a region having color unevenness. In FIG. 7, a resultof the analysis representing that a fourth nozzle included in the nozzlearray 14 is a defective nozzle is obtained. In order to improve accuracyof the analysis, averaging of read images may be performed in the Xdirection for each nozzle array and histogram analysis may be performedin the Y direction. Any analysis method may be used as long as adefective nozzle is specified on a nozzle-by-nozzle basis.

In step S507, the information on a defective nozzle which has beenanalyzed in step S506 is updated. In this embodiment, the nozzleinformation is stored in the ROM 202. However, the nozzle informationmay be stored in a storage device included in the inkjet printer 210,and the information on a defective nozzle may be stored in another way.

The processes in step S501 to step S507 correspond to the firstdetection process performed in step S301. Since the purpose of thisprocess is to specify a defective nozzle on a nozzle-by-nozzle basis asdescribed above, a processing load is heavy, and accordingly, a longperiod of time may be required for performing the process. Therefore,the process may be performed while the maintenance is performed sincethere may be comparatively enough time to perform the process. Note thatthe first detection process may be performed before an actual image isprinted or before the apparatus enters an initial state after beingactivated. Alternatively, the first detection process may be arbitrarilyperformed by the operator or the user. Since a heavy processing load isapplied, the first detection process may be performed in a state inwhich the apparatus does not perform printing or before the apparatushas not received an instruction for printing.

Return to FIG. 3, a process in step S302 and subsequent processes willbe described. In step S302, target image data is input. The target imagedata is stored in the storage unit 205 thorough the interface 208. Inthis embodiment, a resolution of the input image data is 300 dpi.

Subsequently, in step S303, printing data is generated in accordancewith the target image data input in step S302. The input image data hasa data format such as an sRGB, and printing data corresponding to theapparatus should be generated. Here, a printing data generation processperformed by the inkjet printer 210 will be described with reference toFIG. 8.

Printing Data Generation Process

In FIG. 8, an original image signal of an RGB obtained by an imageinputting apparatus such as a digital still camera or a scanner orobtained through a computer process is converted into an R′G′B′ signalthrough a color process A in step S801. In the color process A, theoriginal image signal RGB is converted into the image signal R′G′B′which is suitable for a color reproduction range of the recordingapparatus. In step S802, the R′G′B′ signal is converted into signalscorresponding to respective color inks through a color process B. Sincethe four color inks are used for printing an image in this embodiment,color density signals C1, M1, Y1, and K1 corresponding to cyan, magenta,yellow, and black are obtained after the conversion. Note that,specifically, in the color process B, a three-dimensional look-up table(3DLUT) having an input of RGB and an output of CMYK is used. Here,output values corresponding to input values which are not located ongrid points are obtained by performing compensation using output valuesof grid points located around the input values. In step S803, the colordensity signals C1, M1, Y1, and K1 are subjected to gamma correctionusing a correction table so that color density signals C2, M2, Y2, andK2 are obtained. In step S804, the color density signals C2, M2, Y2, andK2 obtained after the gamma correction are quantized (binarized) andconverted into image signals C3, M3, Y3, and K3 to be transmitted to therecording head 2. Examples of a quantization method include an errordiffusion method and a Dither method. A flow of a series of theprocesses performed when printing data is generated has been describedhereinabove.

Next, in step S304, the printing data is assigned to the nozzle arraysin accordance with the printing data generated in step S303 and theinformation on a defective nozzle described above, and a correctionprocess is performed. Since the four nozzle arrays correspond to thesame color in this embodiment, the four nozzles eject ink for a singlepixel on a surface of a sheet. However, if one of the four nozzles is adefective nozzle, the three nozzles other than the defective nozzleeject ink. Therefore, assignation of data to the nozzles is determinedin accordance with the printing data and the information on a defectivenozzle. In this embodiment, the assignation is sequentially performed onthe three nozzles so that the three nozzles are evenly used, andaccordingly, correction is performed so as not to generate an imagedefect due to the defective nozzle.

Note that, the method for correcting a defective nozzle is not limitedto this. For example, when a recording head which has nozzle arrayscorresponding to different colors are used, nozzles around a defectivenozzle, for example, two nozzles which sandwich the defective nozzle ortwo pairs of nozzles which sandwich the defective nozzle may be used forcompensation as the correction process method. Furthermore, the presentinvention may be applicable to a so-called multipath recording in whichrecording is completed after performing relative scanning several timesusing a recording head on a predetermined region of a recording medium.In this case, a correction process method for recording a pixel to berecorded by a defective nozzle in a certain scanning operation by anon-defective nozzle in another scanning operation so that correction isperformed may be performed. The embodiment of the present invention ischaracterized in that the mode in which a defective nozzle is detectedon a nozzle-by-nozzle basis or the mode in which a nozzle groupincluding a defective nozzle is detected is selectively performeddepending on a situation. Accordingly, the correction method is notlimited to those described herein as long as a pixel to be recorded by adetected defective nozzle (or a detected defective nozzle group) isrecorded by a non-defective nozzle.

Next, in step S305, ink is ejected from the recording head 2 serving asthe recording unit for recording in accordance with the printing datawhich has been assigned to the nozzle arrays in step S304.

In step S306, it is determined whether a predetermined number of sheetshave been printed. When the determination is negative, the processreturns to step S302 where the target image is input whereas when thedetermination is affirmative, the process proceeds to step S307. In thisembodiment, the number of sheets to be printed is 30 which is a fixedvalue. However, the number of sheets to be printed is not limited tothis, and may be arbitrarily set by the operator. Furthermore, someapparatuses are capable of printing various sizes of sheets, andaccordingly, a determination may be made in accordance with a period oftime from when the printing is started or the number of dots obtained bycounting ejection dots instead of the number of sheets to be printed.

When the determination is affirmative in step S306, a second detectionprocess is performed in step S307. The second detection process isperformed in order to detect a defective nozzle while a load applied tothe process is suppressed. In the second detection process, detection ofa defective nozzle is performed in a unit of a plurality of nozzles(unit of a nozzle group). A flow of the second detection process will bedescribed with reference to a flowchart of FIG. 9.

Second Detection Process

In step S901, an inspection image is input. In this embodiment, the sameinspection pattern is used in the first and second detection processes.The inspection image of the second embodiment is the same as that of thefirst embodiment, and therefore, a detailed description thereof isomitted.

In step S902, printing data of the inspection pattern is generated inaccordance with data of the inspection image input in step S901.

In step S903, the inspection pattern is recorded in accordance with theprinting data generated in step S902. FIG. 10 is a diagram illustratingthe inspection pattern is printed in the second detection process.

A region 1001 represents an image defect caused by an ejection failureof a sixth nozzle of the nozzle array 12 while printing is performed on30 sheets. Note that, in the second detection process, the inspectionpattern is printed in a state in which the data has been assigned to thenon-defective nozzles in accordance with the information on a defectivenozzle and the correction has been performed in the first detectionprocess, and accordingly, a white line does not appear. Accordingly,data corresponding to a position of the fourth nozzle of the nozzlearray 14 in which the white line has appeared in the first detectionprocess is printed after the data is assigned to the nozzles in thenozzle arrays 11, 12, and 13. That is, the defective nozzle detected inthe first detection process has been corrected when the second detectionprocess is performed.

Subsequently, in step S904, one of the reading conditions (readingmodes) is selected and set. In this embodiment, the reading resolutionis set to 300 dpi. This reading resolution is lower than the nozzleresolution (600 dpi).

Next, in step S905, the inspection pattern is read in accordance withthe reading condition set in step S904. FIG. 11 is a diagramillustrating an image of the pattern shown in FIG. 10 read in apredetermined resolution. A color density of a region 1101 is reduced tohalf which represents that a defective nozzle is included in a pluralityof nozzles which are use to record this region 1101. Here, a fact thatthe number of nozzles per a unit which can be identified by the readingunit 6 such as a scanner is determined in accordance with a resolutionwill be described with reference to FIG. 12.

FIGS. 12A to 12C are diagrams illustrating the relationships between inkdots of the recording medium and reading pixels of the scanner. FIG. 12Ashows a state in which ink is ejected to form dots in an upper leftportion, an upper right portion, and a lower left portion included in agrid region of 300 dpi included in the recording medium. Since thenozzle resolution is 600 dpi, a drop of ink is landed on a grid of 600dpi in the recording medium. That is, in a region of 300 dpi square,four ink dots can be arranged.

FIG. 12B shows an image obtained when the state shown in FIG. 12A isread with a reading resolution of 600 dpi. When the reading resolutionis 600 dpi, a grid of 600 dpi corresponds to a single pixel in thereading operation. In this case, a reading image corresponding to a gridof 300 dpi includes four pixels. In the case of FIG. 12B, colordensities of an upper left pixel, an upper right pixel, and a lower leftpixel correspond to 1 and a color density of a lower right pixelcorresponds to 0 in the reading operation.

FIG. 12C shows an image obtained when the state shown in FIG. 12A isread with a reading resolution of 300 dpi. When the reading resolutionis 300 dpi, a grid of 300 dpi corresponds to a single pixel in thereading operation. Specifically, when a reading resolution is lower thana nozzle resolution, reading data corresponding to only one pixel isobtained for a plurality of dots. That is, the color densities of thethree dots included in the four grids are averaged so that reading datahaving a color density of 0.75 is obtained. Consequently, as shown inFIG. 11, as a result of the reading operation performed on the regionrecorded using the nozzle group including a defective nozzle, half thecolor density is detected. As described above, when the readingresolution is lower than the nozzle resolution, although a determinationas to whether a defective nozzle is included in a unit of a plurality ofnozzles can be made, the defective nozzle is not specified.

Furthermore, in this embodiment, an ink-dot resolution in the supplyingdirection is the same as the nozzle resolution. However, according tothe embodiment of the present invention, the relationship between thenozzle resolution and the reading resolution is important, andaccordingly, the ink-dot resolution in the supplying direction is notimportant.

Next, in step S906 in FIG. 9, a defective nozzle is specified inaccordance with the image of the inspection pattern read in step S905.Here, since it is difficult to specify a defective nozzle on anozzle-by-nozzle basis, a region including the nozzles is determined asa unit (nozzle group) and an analysis process is performed. In thisembodiment, since the reading resolution corresponds to half the nozzleresolution, a defective nozzle is specified in a unit of two nozzles. Inthe example shown in FIG. 10, the sixth nozzle of the nozzle array 12corresponds to a defective nozzle. However, in the second detectionprocess, a group including a fifth nozzle and the sixth nozzle of thenozzle array 12 is determined as a defective nozzle. Furthermore, inthis embodiment, it is determined that a pixel having a color densityreduced to half represents that one nozzle is defective whereas a whiteregion represents that two nozzles are defective. Accordingly, in theanalysis process, two threshold values are used for the determination.Note that in order to reliably detect a defective nozzle, a largernumber of pixels may be specified. In this embodiment, third to eighthnozzles of the nozzle array 12 are determined as defective nozzles instep S907. A degree of increment of the number of pixels may bearbitrarily specified. When the number of pixels is not to beincremented, the process proceeds from step S906 to step S908.

In step S908, information on the defective nozzles determined in stepS906 or step S907 is updated so that the defective nozzles are not to beused for recording. The information on the defective nozzles may bestored in a region the same as that stores information on the defectivenozzle determined in the first detection process or may be stored inanother region. In the second detection process, the fifth and sixthnozzles of the nozzle array 12 are determined as defective nozzles. Whenrecording is performed afterward, a correction process is performed suchthat recording data is not assigned to the nozzle group determined toinclude the defective nozzles but assigned to the non-defective nozzles.

The processes from step S901 to step S908 are included in a processingflow of the second detection process. When a correction process isperformed after the defective nozzles are detected in printing, a loadapplied to the processes should be reduced. As described in thisembodiment, a method for reading an inspection pattern in a lowresolution and performing an analysis process using a nozzle groupincluding a plurality of nozzles as defective nozzles is employed, thedefective nozzles are specified in a resolution lower than the nozzleresolution. Accordingly, processing loads are reduced and the defectivenozzles are detected in printing. When the printing is consecutivelyperformed on a plurality of sheets, the correction process is performedwhen the information is updated in the second detection process.Accordingly, feedback to the correction process is promptly performed.

Finally, in step S308, it is determined whether an actual image is hasbeen printed. When the determination is negative, the process returns tostep S302 where the target image is input, and the correction processand the printing operation are performed. In this case, as correctioninformation, the nozzle information obtained in the second detectionprocess is used for printing. As a result, a defect detection/correctionprocess corresponding to a defective nozzle newly generated in theprinting is realized with a small load.

As described above, according to the embodiment of the presentinvention, one of the modes corresponding to different informationprocessing loads applied to the operation of reading the inspectionpattern and the correction process is selectively executed. In this way,a defect detection/correction process suitable for various statesincluding a state in which a correction process should be performed withhigh accuracy before printing and a state in which a correction processshould be performed with a small load at a time of printing.

Note that, the results of the determination information processes in thefirst and second detection processes are stored in the same storageregion in this embodiment. In this case, since a certain period of timeis required for updating information on the storage region in practice,a timing of the updating of the information should be accuratelycontrolled. Alternatively, a configuration in which a plurality ofstorage regions including a second storage region which is differentfrom the storage region currently referred to may be provided and areference destination is changed immediately after information iswritten to the second storage region may be added. As a result,simplification of the process is attained.

Furthermore, in this embodiment, the reading resolution of the seconddetection process corresponds to half the nozzle resolution, anddetection of a defective nozzle is performed in a unit of two nozzles.As the reading resolution of the second detection process is lowered, anamount of information processing is reduced in an exponentiation manner.However, accuracy of the detection may be degraded. Accordingly, thereading resolution of the second detection process may be arbitrarilyset depending on information processing capability of the apparatus. Inthis case, a system of integrally changing the number of nozzles whichcollectively perform the defect detection/correction process using aratio of the reading resolution to the nozzle resolution is added. Bythis, an embodiment which further reduces the amount of informationprocessing can be realized.

Moreover, although the same inspection pattern is used in the first andsecond detection processes in this embodiment, different inspectionpatterns may be used. In addition, a more desirable embodiment isrealized by optimizing a pattern for each detection process.

Furthermore, although the example of the recording head having headscorresponding to different colors, each of the heads including nozzlearrays corresponding to the same color, is described in this embodiment,a recording head may have heads corresponding to different colors, eachof the heads including a nozzle array for the corresponding color. Asfor the correction method, correction may be performed using adjacentnozzles or correction may be performed when another scanning operationis performed when the multipath recording is performed.

Moreover, although the CPU 201 serving as the controller determines thereading resolution of the reading unit in this embodiment, the presentinvention is not limited to this as described above. As with thisembodiment, when receiving a printing job and a recording instruction,the CPU 201 may performs a reading operation in a low resolution whenthe recording unit starts recording, and otherwise, the CPU 201 mayperforms a reading operation in a high resolution. The user may selectan appropriate reading resolution taking a period of time which isallowed to be consumed for a process and a processing load intoconsideration.

Even when a defect is detected in the second detection process, it ispossible that an actual image is printed depending on a distance betweenthe recording head and the reading apparatus and a frequency ofinsertion of the inspection pattern. To address this possibility, when adefect is detected in the second detection process, a process ofrecording an actual image printed before the inspection pattern isprinted is added. By this, an embodiment which further improvesusability is realized.

Second Embodiment

Next, a second embodiment of the present invention will be described. Inthis embodiment, first and second detection processes are performed, andwhen an apparatus is in a stop state, the first detection process isperformed again. In the first embodiment, in order to reduce aprocessing load at a time of printing, a plurality of nozzles aredetected as a defective nozzle group and normal nozzles in the vicinityof a defective nozzle are determined as defective nozzles and arecorrected. However, in this embodiment, normal nozzles in the vicinityof a defective nozzle are determined as defective nozzles and corrected,and thereafter, detection of the defective nozzle is performed in detailon a nozzle-by-nozzle basis and a correction process is performed whereappropriate after completion of printing. Note that, a basic functionalconfiguration is the same as that of the first embodiment. However,since a determination as to whether detailed detection/correction shouldbe performed is made at a time of termination of printing in thisembodiment, a plurality of nozzle information storage units areprovided.

FIG. 13 is a flowchart illustrating the process according to thisembodiment. In step S1301, the first detection process is performedbefore printing in order to detect a defective. The process performed instep S1301 is the same as that performed in step S301, and therefore, adetailed description thereof is omitted. Note that a region to storeinformation on a nozzle determined as a defective nozzle in the firstdetection process is determined as a first nozzle information storageunit, and the information is written to the first nozzle informationstorage unit. Processes performed in step S1302 to step S1306 are thesame as those performed in step S302 to step S306 in the firstembodiment, and therefore, detailed descriptions thereof are omitted. Instep S1307, the second detection process is performed. Information on aresult of the second detection process is stored in a second nozzleinformation storage unit. Here, a printing operation is consecutivelyperformed several times, and in a case where a sequence in which thesecond detection process is performed again, the information on a resultof the second detection process is updated where appropriate. In stepS1308, it is determined whether the printing is terminated. In stepS1309, it is determined whether a defective nozzle is newly generated inprinting. This determination may be made by comparing the informationstored in the first nozzle state storage unit which has stored the statebefore the printing with the information stored in the second nozzlestate storage unit which stores the latest state of the apparatus. Whenthe determination is affirmative in step S1309, the first detectionprocess is performed again in step S1310.

As described above, since the first detection process is performed againafter the printing, the normal nozzles which have been determined as thedefective nozzles and therefore subjected to the correction process areused as the normal nozzles. Accordingly, even in a configuration inwhich the second detection process is performed while the printing isperformed, the number of nozzles to be corrected can be reduced afterprinting and normal nozzles can be efficiently utilized.

Furthermore, in each of the first and second detection processes, asystem for interrupting the process depending on a result of detectionmay be added. For example, when it is determined that all four nozzlearrays include defective nozzles, the process should be interrupted. Inthis case, an UI (User Interface) may be added to display information ona fatal error for an operator. By this, more efficient embodiment can berealized. Moreover, when an error determination process is to beperformed, a process of automatically suspending a printing job to beperformed, performing a suction recovery process of the apparatus, andautomatically performing the first detection process may be added. As aresult, a printing apparatus having more excellent usability for theoperator can be configured. Note that a condition for stopping theapparatus may be arbitrarily set by the user.

Furthermore, when the apparatus is stopped while the second detectionprocess is performed and the printing is performed, only a recordinghead or a tip of an ink color which has been determined to be defectivemay be changed. In this case, recording heads of ink colors which havenot been determined as defective are not required to be subjected to thefirst detection process again. Accordingly, only the recording head orthe tip determined to be defective may be subjected to the firstdetection process. As a result, a process of performing the firstdetection process on the normal nozzles of the ink colors can bereduced.

In the foregoing embodiments, the recording apparatus which records animage in a recording medium has been described. However, a recordingsystem including a recording apparatus and a supplying apparatus whichsupplies image data to the recording apparatus may be used. In thiscase, reading and generating of the data may be performed any of therecording apparatus and the supplying apparatus.

While the present invention has been described with reference toexemplary embodiments, it is to be understood that the invention is notlimited to the disclosed exemplary embodiments. The scope of thefollowing claims is to be accorded the broadest interpretation so as toencompass all such modifications and equivalent structures andfunctions.

1-8. (canceled)
 9. A recording apparatus comprising: an obtaining unitconfigured to obtain information about a defective recording elementincluded in a plurality of recording elements provided in a recordinghead; and a control unit configured to perform either a first controlthat controls, based on the obtained information, the plurality ofrecording elements for recording images to be recorded using thedefective recording element, by using other recording element which isnot defective among the plurality of recording elements, or a secondcontrol that controls, based on the obtained information, the pluralityof recording elements for recording images to be recorded usingrecording element group including the defective recording element andincluding at least two recording elements, by using other recordingelement group that includes at least two recording elements which arenot defective.
 10. The recording apparatus according to claim 9, whereinthe control unit performs the first control while recording image andperforms the second control when the image is not recorded.
 11. Therecording apparatus according to claim 9, wherein the second control hasprocessing loads that are smaller than processing loads of the firstcontrol.
 12. The recording apparatus according to claim 9, wherein theinformation which is obtained by the obtaining unit is either firstinformation that indicates whether it is defective recording element ofeach of the plurality of recording elements, or second information thatindicates whether each of plurality of recording element groups, eachgroup including at least two recording elements, includes defectiverecording element.
 13. The recording apparatus according to claim 12,wherein the control unit performs the second control in a case where theobtaining unit obtains the first information, and the control unitperforms the second control in a case where the obtaining unit obtainsthe second information.
 14. The recording apparatus according to claim12, wherein the first information is a result of a first pattern beingread in a first resolution, and the second information is a result of asecond pattern being read in a second resolution that is lower than thefirst resolution.
 15. The recording apparatus according to claim 14,further comprising: a reading unit capable of reading patterns by eitherthe first resolution or the second resolution.
 16. The recordingapparatus according to claim 14, wherein the first resolution has thesame density in which the plurality of recording elements are arrangedor has higher resolution than the density in which the plurality ofrecording elements are arranged, and the second resolution has lowerresolution than the density in which the plurality of recording elementsare arranged.
 17. The recording apparatus according to claim 14, whereinthe first pattern is recorded when a job that instructs image recordingis not received, and the second pattern is recorded when the job thatinstructs image recording is received.
 18. The recording apparatusaccording to claim 14, wherein the first pattern and the second patteris a same pattern.
 19. A recording method comprising: obtaininginformation about a defective recording element included in a pluralityof recording elements provided in a recording head; and performingeither a first control that controls, based on the obtained information,the plurality of recording elements for recording images to be recordedusing the defective recording element, by using other recording elementwhich is not defective among the plurality of recording elements, or asecond control that controls, based on the obtained information, theplurality of recording elements for recording images to be recordedusing recording element group including the defective recording elementand including at least two recording elements, by using other recordingelement group that includes at least two recording elements which arenot defective.
 20. A data generating apparatus comprising: an obtainingunit configured to obtain information about a defective recordingelement included in a plurality of recording elements provided in arecording head; a first generating unit configured to generate data forrecording images to be recorded using the defective recording element,by using other recording element which is not defective among theplurality of recording elements; and a second generating unit configuredto generate data for recording images to be recorded using recordingelement group including the defective recording element and including atleast two recording elements, by using other recording element groupthat includes at least two recording elements which are not defective.